home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Aventura / chichi.swf / scripts / frame_235 / PlaceObject2_276_285 / CLIPACTIONRECORD onClipEvent(enterFrame).as
Encoding:
Text File  |  2008-09-26  |  503 b   |  22 lines

  1. onClipEvent(enterFrame){
  2.    if(_global.bosstime == 1)
  3.    {
  4.       this.gotoAndPlay(2);
  5.       _global.bosstime = 2;
  6.       trace("_global.bosstime");
  7.    }
  8.    if(this.hitTest(_parent.drag))
  9.    {
  10.       _parent.drag.gotoAndPlay("die");
  11.       _parent.shak.gotoAndPlay(1);
  12.       _parent.score -= 100;
  13.    }
  14.    if(this.hitTest(_parent.shot1))
  15.    {
  16.       _parent.shot1.gotoAndStop(1);
  17.       this.jboss_ani.gotoAndPlay("jhit");
  18.       this.jpower.nextFrame();
  19.       _parent.score += 200;
  20.    }
  21. }
  22.